package com.framework.core.pushmsgcenter.util;

import com.framework.core.util.impl.SysConfig;

/**
 * 消息中心常量类
 * @author yangliu
 *
 */
public class PushMsgConst {
	/**
	 * 消息类型
	 * @author yangliu
	 *
	 */
	public class MsgType{
		public final static int wechat = 1;
		public final static int message = 2;
		public final static int webpush = 3;
	}
	
	public class SendType{
		public final static String HTTP = "http";
		public final static String REDIS ="redis";
	}
	
	public final static String SEND_TYPE = SysConfig.getConfigValueFromKey("send_type");
	
	public final static String REDIS_CHANNEL = "MSG_CENTER";
}
